package com.wangyadong.hobby.common.dao.sqlmap;

import com.wangyadong.hobby.common.dao.MyBatisDao;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 *
 * @author <714037465@qq.com>
 * @since 2018/8/216:13
 **/
public class XXXX {
    @Autowired
    MyBatisDao myBatisDao;

    public void aaa() {
        SqlSessionFactory sqlSessionFactory = myBatisDao.getSqlSessionFactory();
        Configuration configuration = sqlSessionFactory.getConfiguration();
        configuration.getMappedStatement("1");
    }

    public static void main(String[] args) {
        String id = "123";
        System.out.println(StringUtils.isBlank(id));
    }
}
